package com.dds.demo.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.log4j.Log4j;


@Data 
@Log4j
@NoArgsConstructor
@TableName(value="WMS2ERP_SO")
@Api(value = "WmsToErp", tags = "回传erp数据")
public class WmsToErp  {

    private static final long serialVersionUID = 1L;
	
	/**
	 * 主键
	 */
	@ApiModelProperty(value = "主键ID") 
	@TableField(value="SERIALKEY")
	@TableId(type =IdType.AUTO)
	private Long serialkey;

	/**
	 * 外部单号
	 */
	@ApiModelProperty(value = "外部单号") 
	@TableField(value="EXTNUM")
	private String extnum;

	/**
	 * 订单行号
	 */
	@ApiModelProperty(value = "订单行号") 
	@TableField(value="ORDERLINE")
	private String orderline;

	/**
	 * 出入库标识
	 */
	@ApiModelProperty(value = "出入库标识") 
	@TableField(value="IOFLAG")
	private String ioflag;

	/**
	 * 货主
	 */
	@ApiModelProperty(value = "货主") 
	@TableField(value="STORERKEY")
	private String storerkey;

	/**
	 * 商品
	 */
	@ApiModelProperty(value = "商品") 
	@TableField(value="ITEMNUM")
	private String itemnum;
	
	/**
	 * 商品品牌
	 */
	@ApiModelProperty(value = "商品名称") 
	@TableField(value="ITEMDESC")
	private String itemdesc;

	/**
	 * 批次
	 */
	@ApiModelProperty(value = "批次") 
	@TableField(value="LOTNUM")
	private String lotnum;

}
